package com.example.newnoke.base;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.example.newnoke.APP;


/**
 * Created by Administrator on 2018/5/31 0031.
 */

public class BaseReceive extends BroadcastReceiver{

    public BaseReceive(){

    }
    @Override
    public void onReceive(Context context, Intent intent) {
              if (intent.getStringExtra("info").equals("-2")){
                  APP.startLogin();
              }
    }
}
